<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>EasyBuy后台管理</title>
    <!--<link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">-->
    <!--<script src="${pageContext.request.contextPath}/layui/layui.js"></script>-->
	<link rel="stylesheet" href="../../../lib/layui/css/layui.css">
	<script src="../../../lib/layui/layui.js"></script>
</head>
<div class="layui-fluid">
	<div class="layui-row">
		<fieldset class="layui-elem-field layui-field-title">
			<legend>添加新闻</legend>
		</fieldset>
	</div>
	<hr class="layui-bg-red">
	<div class="layui-col-md3 layui-col-md-offset4">
		<form class="layui-form" action="">
			<div class="layadmin-user-login-box layadmin-user-login-body layui-form">
				<div class="layui-form-item">
					<input type="text" name="userName" id="userName" lay-verify="required"
						   placeholder="新闻标题" class="layui-input">
				</div>
				<div class="layui-form-item">
					<input type="text" name="realName" id="realName" lay-verify="required"
						   placeholder="内容" class="layui-input">
				</div>

				<div class="layui-form-item">
					<div class="layui-input-block">
						<button class="layui-btn" lay-submit="" lay-filter="demo1">提交</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>

<script>
    layui.use(['form', 'layedit', 'laydate'], function () {
        var form = layui.form
            , layer = layui.layer
            , layedit = layui.layedit
            , laydate = layui.laydate;
    });
</script>

</body>
</html>